﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WorkNodeFramework
{
    public class WorkNodeException:Exception
    {
        public WorkNodeException()
            : base()
        { }

        public WorkNodeException(string msg)
            : base(msg) { }

        public WorkNodeException(string msg, Exception innerException)
            : base(msg, innerException)
        { }
    }

    public class WorkNodeNameEmptyException : Exception
    {
        public WorkNodeNameEmptyException()
            : base()
        { }

        public WorkNodeNameEmptyException(string msg)
            : base(msg) { }

        public WorkNodeNameEmptyException(string msg, Exception innerException)
            : base(msg, innerException)
        { }
    }

    public class WorkNodeDuplicateNameException : Exception
    {
        public WorkNodeDuplicateNameException()
            : base()
        { }

        public WorkNodeDuplicateNameException(string msg)
            : base(msg) { }

        public WorkNodeDuplicateNameException(string msg, Exception innerException)
            : base(msg, innerException)
        { }
    }
}
